package com.example.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.example.domain.Track;
import com.example.mapper.TrackMapper;
import com.example.service.TrackService;


@Service
@Transactional
public class TrackServiceImp implements TrackService {
	@Autowired
    private TrackMapper trackMapper;
	@Override
	public List<Track> getTrack(String id,String startDate, String endDate) {
		return trackMapper.selectTrack(id, startDate, endDate);
	}
	@Override
	public List<Track> getTrack2() {
		return trackMapper.selectTrack2();
	}


}

